package com.frank.oj.service.entity.contest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.contest.Contest;
import com.frank.model.entity.contest.ContestRecord;
import com.frank.oj.model.vo.ContestRecordVO;

import java.util.Date;
import java.util.List;

/**
 * @author frank
 * @Date 2024/4/7
 */
public interface ContestRecordEntityService extends IService<ContestRecord> {
    List<ContestRecordVO> getACMContestRecord(String uid, Long id, List<Integer> externalCidList, Date startTime);

    List<ContestRecordVO> getOIContestRecord(Contest contest, List<Integer> externalCidList, boolean isOpenSealRank, boolean isContainsAfterContestJudge);

    IPage<ContestRecord> getACInfo(Integer currentPage, Integer limit, Integer code, Long cid, String uid, Date startTime, Date endTime);
}
